double tryparse dot comma

68

double tryparse dot comma -

text = text.Replace(',', '.');
return double.TryParse(text, NumberStyles.Any, CultureInfo.InvariantCulture, out value);

Comments

Submit
0 Comments